import request from '../utils/request'

export const createPayOrder = data => {
  return request({
    method: 'POST',
    url: '/front/pay/saveOrder',
    data,
  })
}

export const getPayResult = orderNo => {
  return request({
    method: 'GET',
    url: '/front/pay/getPayResult',
    params: {
      orderNo,
    }
  })
}
